import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/md.scss'
import './assets/media.scss';
import './util/datetime'
import './axios.js';
import demoBlock from './components/demo-block.vue'
import highlight from './components/highlight/'
import auth from './components/Auth'
import login from './components/Login'
import website from './website';
window.Bmob.initialize(website.Bmob.AK, website.Bmob.SK);
Vue.prototype.website = website;
Vue.prototype.Bmob = window.Bmob
//赋值全局对象
Vue.use(window.AVUE, {
  qiniu: website.QINIU,
  ali: website.ALI
})
Vue.component('auth', auth);
Vue.component('login', login);
Vue.component('demo-block', demoBlock);
Vue.component('highlight', highlight);
Vue.config.productionTip = false

window.app = new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
